hikey: increase delay after eMMC initialized
authorRyan Grachek <[email protected]>
Thu, 15 Nov 2018 14:41:25 +0000 (08:41 -0600)
committerRyan Grachek <[email protected]>
Thu, 15 Nov 2018 15:01:40 +0000 (09:01 -0600)
Some eMMC chips require a longer delay. After testing
different chips, 20ms appears to work reliably.

Signed-off-by: Ryan Grachek <[email protected]>
plat/hisilicon/hikey/hikey_bl2_setup.c

index 791076c969cde437329bc43c18de6862af5b9e2b..d42afe0def77e8a2b13b2fb25166d81a4579913b 100644 (file)
@@ -336,7 +336,7 @@ void bl2_platform_setup(void)
        params.flags = MMC_FLAG_CMD23;
        info.mmc_dev_type = MMC_IS_EMMC;
        dw_mmc_init(&params, &info);
-       mdelay(5);
+       mdelay(20);
 
        hikey_io_setup();
 }